package cn.wolfcode.ssm.mapper;

import cn.wolfcode.ssm.domain.Permission;
import cn.wolfcode.ssm.domain.Role;

import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    List<String> listAllExpression();

    List<String> selectForExpressionById(Long empId);

}